<?php
class guideModel extends RelationModel
{
    protected $_link = array(
        'guide_add' => array(
            'mapping_type'  => HAS_ONE,
            'class_name'    => 'guide_add',
            'foreign_key'   => 'gid',
        ),
    );
}